//导入react
import React from "react";
// import TestCom from "./components/1-TestCom/TestCom";
// import State from "./components/4-State/1-State";
// import SetColor from "./components/4-State/2-SetColor";
// import SlideCom from "./components/4-State/3-SiledCom";
// import Props from "./components/5-Props/1-Props";
// import PropsCom from "./components/5-Props/2-PropsCom";
// import RefCom from "./components/6-ref/1-RefCom";
// import FormSim from "./components/7-Form/1-FormSim";
// import ColorPicker from "./components/7-Form/2-Color";
// import LifeCom from "./components/8-LifeCycle/1-LifeCom";
// import Clock from "./components/8-LifeCycle/2-Clock";
// import Chat from "./components/8-LifeCycle/3-Chat";
// import UseStateCom from './components/9-Hooks/1-useStateCom'
// import GoodsImage from "./components/9-Hooks/1-useState/2-GoodsImage";
// import PropsCom from "./components/9-Hooks/2-Props/1-PropsCom";
// import RefCom from "./components/9-Hooks/3-ref/RefCom";
// import FormCom from "./components/9-Hooks/4-form/FormCom";
// import EffectCom from "./components/9-Hooks/5-Effect/1-EffectCom";
// import StateUp from "./components/9-Hooks/6-StateUp/StateUp";
// import TodoList from "./components/10-TodeList/TodoList";
// import A from "./components/11-TransData/2-祖孙/A";
// import Hero from "./components/11-TransData/4-Hero/Hero";

// import About from "./pages/About/About";
// import Home from "./pages/Home/Home";
// import Message from "./pages/Message/Message";
// import News from "./pages/News/News";


// import { useRoutes} from 'react-router-dom'
// import Wellcome from "./pages/Wellcome/Wellcome";
// import NotFound from "./pages/NotFound/NotFound";
import './App.css'
// import Memo from "./components/13-DiffCom/Memo";
// import ReducerCom from "./components/14_ReducerCom/ReducerCom";
import useTimerHookCom from "./components/15_CustomHook/useTimerHookCom";
// import MyMusic from "./pages/MyMusic/MyMusic";
// import YYG from "./pages/YYG/YYG";
// import Gedan from "./pages/Gedan/Gedan";
// import Singer from "./pages/Singer/Singer";

// import routerArr from "./routes";


function App() {
  // let routes=useRoutes(routerArr)
let time=useTimerHookCom()
  return <>
    <div><h2>{time}</h2></div>
  </>
  }

//导出
export default App